package Dao;

import java.util.List;

import entity.Remark;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

import com.alibaba.fastjson.JSON;
import com.mysql.cj.conf.ConnectionUrlParser.Pair;

import entity.CommentVO;
import entity.Remark;
import entity.Zremark;




public interface RemarkDao {
	//获取所有评论
	public List<Pair<CommentVO,List<Zremark>>>  getall();
		
	//获取该单词所有评论
	public List<Pair<CommentVO,List<Zremark>>>  getremark(String wordname);
	//喜欢
	public void addlike(int CommrntID) throws Exception;
	//讨厌
	public void addhate(int CommentID) throws Exception;
	
}



	